-- GENERATED SPELL FOR [Uvuros] --


function spell0_21102(pUnit, Event) --@Double Breath,n/a--
pUnit:FullCastSpellOnTarget(38361,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21102', 4300, 1)
end

function spell1_21102(pUnit, Event) --@Terrifying Roar,Self--
pUnit:FullCastSpellOnTarget(37939,pUnit)
pUnit:RegisterEvent('Sorts_21102', 7000, 1)
end

function Sorts_21102(pUnit, Event)
local choix_sorts_21102 = math.random(0, 1)
if choix_sorts_21102 == 0 then
pUnit:RegisterEvent('spell0_21102', 1, 1)
end
if choix_sorts_21102 == 1 then
pUnit:RegisterEvent('spell1_21102', 1, 1)
end
end

function mob21102_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21102', math.random(1500, 3000), 1)
end

function mob21102_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21102_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21102_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21102, 1, 'mob21102_Action')
RegisterUnitEvent(21102, 2, 'mob21102_Leave')
RegisterUnitEvent(21102, 3, 'mob21102_Kill')
RegisterUnitEvent(21102, 4, 'mob21102_Die')
